define(function(require, exports, module) {

  var Backbone = require('backbone');
  var $ = require('jquery');
  var _ = require('underscore');
  var jsonview = require('jsonview');
  var tmpl = require('text!../tmpl.html');
  var t = require('test')

  require(['css!hy5b/t/test.css'])

  function main() {
    var $app = $('<div id="app">');
    $('#main').html($app);

    $app.append(tmpl);

    $('#test').click(PrototypeInheritance)

    function PrototypeInheritance() {
      var person = {
        name: "H.R.Gear",
        friends: ["Shelly", "Cort", "Van"]
      };

      var annotherPerson = Object.create(person);
      annotherPerson.name = "Greg";
      annotherPerson.friends.push("Rob");

      var yetAnotherPerson = Object.create(person);
      yetAnotherPerson.name = "Linda";
      yetAnotherPerson.friends.push("Barber");

      t.NN(person.name, person.friends);
    }
  }

  return main;
})
